//
//  BVLocationUtil.h
//  BVCommon
//
//  Created by xiute on 2019/10/17.
//

#import <Foundation/Foundation.h>
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MapKit.h>
#import "BVMetaModel.h"

NS_ASSUME_NONNULL_BEGIN


typedef void(^CompleteLocation)(CLLocation *_Nonnull location);

@interface BVLocationUtil : NSObject

+ (instancetype)sharedInstance;

- (void)startLocationWithBlock:(CompleteLocation)block;

- (MKCoordinateRegion)regionForLocations:(NSArray<BVMetaArena *> *)locations;

@end

NS_ASSUME_NONNULL_END
